ARCH ?= x86

ifeq ($(ARCH),x86)
		CC = gcc
else
		CC = arm-linux-gnueabihf-gcc
endif

CC=gcc
TARGET=sys
OBJS=main.o stumodel.o ui.o mygets.o

$(TARGET):$(OBJS)
	$(CC) $^ -o $@

.PHONY:clear

clear:
		rm main.o stumodel.o mygets.o ui.o
